#pragma once

#include <time.h>
#include <string>
using std::string;
using std::wstring;

class QuotePost
{

//Data
	string id;
	wstring text;
	string imageUrl;
	time_t postTime;

public:
//Constructors
	QuotePost(const string &ID, const wstring &Text, const time_t PostTime, const string &ImageUrl);

//Destructors
	virtual ~QuotePost(void);

//Proporty
	const string get_id(void) const{
		return id;
	}

	void set_id(string ID){
		id = ID;
	}

	const wstring get_text(void) const{
		return text;
	}

	void set_text(wstring Text){
		text = Text;
	}
	
	const string get_imageUrl(void) const{
		return imageUrl;
	}

	void set_imageUrl(string ImageUrl){
		imageUrl = ImageUrl;
	}

	const time_t get_postTime(void) const{
		return postTime;
	}

	void set_postTime(time_t PostTime){
		postTime = PostTime;
	}

	bool BeHaveImage() const{
		return (imageUrl != "")?true:false;
	}
};
